﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrapezoidArea
{
    class Program
    {
        static void Main(string[] args)
        {
            double a = 3;
            double b = 5;
            double h = 33.2;
            Console.WriteLine("The trapezoid area is : {0}", ((a + b) * h) / 2);
            
        }
    }
}
